import request from '@/utils/request'

export const getCdkList = data => {
  return request({
    url: '/cdk/getCdkList',
    method: 'post',
    data,
  })
}

export const delCdks = cid => {
  return request({
    url: '/cdk/del?id=' + cid,
    method: 'delete',
  })
}

export const addCdks = data => {
  return request({
    url: '/cdk/add',
    method: 'post',
    data,
  })
}